#include "ssmsfileassistant.h"
#include <QtWidgets/QApplication>

int main(int argc, char *argv[])
{
	QDir* dir = new QDir;
	if (!dir->exists("./logs")) {
		dir->mkpath("./logs");
	}

	if (!Log::instance().open_log()) {
		std::cout << "Log::open_log() failed" << std::endl;
		return -1;
	}
    QApplication a(argc, argv);
    SSMSFileAssistant w;
    w.show();
    return a.exec();
}
